x86/HPET: fix oversight in 23033:84bacd800bf8
authorJan Beulich <jbeulich@novell.com>
Tue, 15 Mar 2011 10:02:36 +0000 (10:02 +0000)
committerJan Beulich <jbeulich@novell.com>
Tue, 15 Mar 2011 10:02:36 +0000 (10:02 +0000)
commit436308d761e9f1a580f35cc69abb4d594b6fe4fb
tree42fa14021598c8b1d50853cb72b5a19ab96ce7e1
parentc5b9d74246c3fb193431b0dad4da61c2effaab35
x86/HPET: fix oversight in 23033:84bacd800bf8

Clearly for the adjusted BUG_ON()s to not yield false positives
num_chs_used must be incremented before setting up an IRQ (and
decremented back when the setup failed).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/hpet.c